package com.fc.entities;

import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Table
import javax.validation.constraints.NotNull

/**
 * 
 * @author aacs
 *
 */
@Entity
@Table(name = "MeasurementType")
class MeasurementType extends BaseEntity{
	@Column(name = "name")
	String name

	@Column
	String unitOfMeasurementString
	
	@Column(name="min")
	int min

	@Column(name="max")
	int max
	
	@Override
	public String toString() {
		return name
	}
}
